package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcBedSort;
import com.csun.cmny.provider.model.dto.BedSortSaveDto;
import com.csun.cmny.provider.model.vo.BedSortVo;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-03-11 13:34
 * @Description: the interface omc bed sort service
 */
public interface OmcBedSortService extends IService<OmcBedSort> {

    /**
     * query bed sort by room id
     *
     * @param roomId    room id
     *
     * @return  bed sort vo
     */
    BedSortVo queryBedSortByRoomId(Integer roomId);

    /**
     * save bed sort
     *
     * @param bedSortSaveDto    save bed sort dto
     * @param loginAuthDto      login auth dto
     *
     * @return  the int.
     */
    Integer saveBedSort(BedSortSaveDto bedSortSaveDto, LoginAuthDto loginAuthDto);
}
